package com.borya.filter.auth;

import java.util.HashMap;
import java.util.Map;

import com.borya.filter.auth.impl.UmsOperation;

/**
 * auth 实体工厂
 */
public class AuthFactory {

    private static Map<String, AuthOperation> operationMap = new HashMap<>();

    static {
        operationMap.put("ums", new UmsOperation());
    }

    public static AuthOperation getOperation(String service) {
        return operationMap.get(service);
    }

}
